• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty
Affordable VAST/VPAID for Wordpress has arrived. Serve ads with your videos starting today!

Four Great GUI Tools for OS X Crons and LaunchD

20 January 2014 / Alec Kinnear / 9 Comments

The challenge: keeping my IP address up to date

I recently wanted to find a way to keep dynamic DNS updated for a smart DNS service at home (to keep MOG, Pandora and LastFM running without using the hassle of a VPN). It turns out my home DSL router’s IP address changes all the time and I was updating my DNS mapping service multiple times per day.

It was a bit of a hunt to find a suitable dynamic DNS solution as dyndys.org went (expensive) paid at $25/year recently. After looking at some of the competitors, I finally chose DNSmadeeasy to avoid creating managing more logins. We already have work accounts and DNSmadeeasy includes dynamic DNS with every name in your account (fabulous value if you need a lot of dynamic DNS). If you are looking for free dynamic DNS, the amusingly named http://afraid.org appears to be the last good free solution operating.

While on Afraid.org’s site, I found a nice quick Bash script which could be customised for DNSmadeasy. Unfortunately I couldn’t get Curl to work well in bash, with DNSmadeeasy’s update command failing (personal data removed) even with -d data variables or with a simple http command:

http://cp.dnsmadeeasy.com/servlet/updateip?username=custom&password=yourpassword&id=yourkey&ip=12.13.14.15

I was able to find a Perl script for DNSmadeeasy. The DME Update scrip I was able to customise (yes, unlike wget Perl is included in Mac OS X 10.6.8 (you can check for Perl with a quick “perl -v”: I got v.5.10.0 back). Troubleshooting was a cinch once I enabled the “-f -v” flags for forcing an update and for verbose feedback.

Once I finally had a working update script the next question was how to make it run repeatedly to keep with the constantly changing IP. There are three good choices on OS X, either a cron job, LaunchD or a dedicated application.

LaunchD: Lingon + launched.zerowidth.com

LaunchD is what Apple recommends. If that’s the path you want to follow, setting up one of these plists by hand is like a trip to the dentist. There’s two solutions. Lingon which has a watered down version in the app store or a full fledged version at the Peter Borg’s site. Whatever you do, don’t choose the app store version, it’s crippled. What’s obnoxious is Borg charges more for the non-app store version (even though he’s not paying Apple a cut). You can actually get the old free version (which is apparently compatible with 10.7 and 10.8 and definitely worked on 10.6.8) back on SourceForge.

lingon edit window
lingon edit window

Even more fun than Lingon if you are creating new LaunchD plists is ZeroWidth’s Launched online service. Here you just, fill in the name, your command, set up your schedule and press “Create .plist”. What happens on the other side is even more amazing.

launched launchd plist nathan witmer
launched launchd plist nathan witmer

You get three options for install.

  1. A quick command line version.
  2. The .plist itself with options to edit and/or download.
  3. Manual command line.
launched zerowidth launchd plists
launched zerowidth launchd plists

Launched is one of the best web services I’ve ever seen and a model for the genre. If everyone would write web applications like Nathan Witmer, the world would be a better place.

Crons: Cronnix

Crons can be edited by hand. Unotelly has a pretty good tutorial here.

  1. Open Terminal
  2. Type “crontab -e”
  3. Press “i” to enter insert mode.
  4. Write or paste in your Cron, something like: “* 1 * * * curl -o /dev/null http://www.unotelly.com/unodns/auto_auth/hash_update/updateip.php?user_hash=YOUR_HASH_HERE”
  5. Press “Esc”
  6. Type “:wq” to save

Frankly, editing cron from the command line is a bit fiddly. Fortunately, there’s a very sexy OS X application called Cronnix from Sven Schmidt.

cronnix icon
cronnix icon

Unfortunately there’s only a very lean Google Code site there.  What’s very cool about Cronnix is you only need to run it when you want to edit your crons. Bad Apple for slowly deprecating the industry standard crons. Apparently even Apple is not presumptuous enough yet to remove cron from Unix, though they would like to.

cronnix gui schedule
cronnix gui schedule

Dedicated Application: Scheduler

Finally, there’s an ultra flexible dedicated application that almost no one has heard of but which is incredibly flexible and powerful called simply Scheduler which is on version 6 and has only been downloaded 19,469 times. Unbelievably Scheduler is free. Why would anyone want a dedicated application for repeated programs when both Cron and launchD are built in to OS X. Author Joao Varela explains:

Scheduler goes far beyond cron and launchd in several aways, as it has built-in functions for posting reminders together with your favorite music (including iTunes songs), launch and open web pages and download files with your favorite browser, among may other features and options. Moreover, Scheduler has many, many scheduling options that are very difficult to do with launchd or cron, such as with a few clicks you can schedule a script to be launched every 2 minutes on the last Monday of the month of June, but not in July, and so and on.

Varela scheduler
Varela scheduler

There’s versions that work as far back as 10.2 with wide compatibility between major revisions. How Varela manages to maintain this application as freeware is miraculous to me. All he gets out of his users is an email address. If you are totally uncomfortable with command line type tools or have very complex scheduling needs, Scheduler is a fantastic application.

Winner

The solution I’ve chosen for myself is Cronnix and Cron. Cron is an open source technology which works on both desktop and server Linux and Unix. Regardless of what foolishness Apple comes up with next, skills in working with Cron will help me work on my servers and my own computers. LaunchD skills are only guaranteed to be worth something as far as Apple’s next OS update (Apple has hidden all the Library and System folders in recent updates, xCode won’t output Snow Leopard compatible applications and Apple Script has been deprecated, Apple are more than capable of throwing LaunchD overboard at the most inconvenient moment).

Alec Kinnear

Alec Kinnear

Alec has been helping businesses succeed online since 2000. Alec is an SEM expert with a background in advertising, as a former Head of Television for Grey Moscow and Senior Television Producer for Bates, Saatchi and Saatchi Russia.

Categories: IT Tags: apple, dns, hosting, os x, unix

Related Posts

  1. Download YouTube Videos Hasslefree | Great Linkbait

    Download YouTube Videos Hasslefree | Great Linkbait

  2. Ten steps to build a great mobile version of your website

    Ten steps to build a great mobile version of your website

  3. Web Tools We Use to run Foliovision

    Web Tools We Use to run Foliovision

Reader Interactions

Comments

  1. Fred 1 April 2014 at 8:20 am

    Really? No link for the Scheduler app? I’m guessing this was an oversight…but it would be nice if you’d update your post with a link.

    Reply
  2. Avatar photoAlec 1 April 2014 at 12:17 pm

    Hi Fred,

    Scheduler is using a bazooka to hammer a nail when cron is built into the OS.

    Reply
  3. Alec 5 May 2014 at 12:21 pm

    If Scheduler is a bazooka to hammer a nail, as you say…then why mention it at all?

    I think Fred’s point is valid…there’s no point mentioning an app that people might find useful for more than this task and not linking to it.

    Reply
  4. Brendon 29 May 2014 at 1:17 pm

    Cronnix did the trick for me. Great writeup!

    Reply
  5. Avatar photoAlec 29 May 2014 at 1:47 pm

    Hi Brendon,

    Thanks for the update. I’m not using DNSmadeeasy updates any more (they don’t seem to work consistently) and stick with the Unotelly direct URL updater with cron (edited via command line ironically). I can see myself doing more with Cronnix and cron in the future. Unix/Linux arw awesome.

    Reply
  6. Blair 10 June 2014 at 1:34 pm

    If you deal with launchd you should have a look at LaunchControl (soma-zone.com/LaunchControl).

    Reply
  7. Avatar photoAlec 10 June 2014 at 2:02 pm

    Thanks for the suggestion. LaunchControl is free to try and inexpensive to buy ($10) and does not require Apple’s app store and is compatible back to Snow Leopard. Good work.

    Reply
  8. GnuRip 4 February 2015 at 9:23 am

    For anyone who is curious about the Scheduler app, I found it: http://www.macscheduler.net

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You can click here to Subscribe without commenting

Primary Sidebar

Categories

  • Business
  • Camera Reviews
  • Case Studies
  • Design
  • FV Player
  • Internet Marketing
  • IT
  • Life
  • SEO
  • Slovak
  • Video of the Week
  • WordPress

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!